import { defineConfig, presetWind3, transformerAttributifyJsx } from 'unocss';
import presetRemToPx from '@unocss/preset-rem-to-px';

// see: https://unocss.nodejs.cn/guide/config-file
export default defineConfig({
  presets: [
    // 修改字体基准 text-16 => text-16px
    presetRemToPx({
      baseFontSize: 4,
    }),
    presetWind3(),
  ],
  transformers: [transformerAttributifyJsx()],
  rules: [],
});
